package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.RefundEntity;
import org.apache.shiro.crypto.hash.Hash;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 交退款
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-08-05 18:20:49
 */
public interface RefundService {
	
	RefundEntity queryObject(Integer id);
	
	List<RefundEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(RefundEntity refund);
	
	void update(RefundEntity refund);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	void getInComeInfo(JSONObject jsonObject);

	HashMap<String, Object> getRefundInfoByDSId(String id);

	void saveRefund(JSONObject jsonObject);
	void saveRefundContract(JSONObject jsonObject);
}
